package structural.adapter.object;

import structural.adapter.Alternator;
import structural.adapter.Alternator110;
import structural.adapter.ITransformer;

/**
 * @Description: 适配器
 * @Author: lxt
 * @CreateDate: 2019/11/1
 **/
public class Alternator110Adapter implements ITransformer {
    Alternator alternator110 = new Alternator110();

    public double transform() {
        return alternator110.output() / 5.5;
    }
}
